home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 272_01 / d_say.doc < prev    next >
Text File  |  1987-07-08  |  1KB  |  41 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.         NAME
  8.                 d_say -- display a string at a specific position
  9.                 d_saypag -- same, with page specification
  10.  
  11.         SYNOPSIS
  12.                 void d_say(r, c, str);
  13.                 void d_saypag(r, c, str, p);
  14.                 int r;      row number
  15.                 int c;      column number
  16.                 char *str;  character string to display
  17.                 int p;      video page (must match current mode)
  18.  
  19.  
  20.         DESCRIPTION
  21.         This function positions the cursor on the specified row
  22.         and column on video page 0, and then writes the string.
  23.         The d_saypag function also selects the video page on which
  24.         to place the cursor.
  25.  
  26.         EXAMPLE
  27.  
  28.              d_say(10, 15, "Hello World!\n");
  29.              d_saypag(5, 20, "Goodby!", 1);
  30.  
  31.  
  32.  
  33.         CAVEAT:  The string is written to stdout.  Therefore, the
  34.                  results will not be as advertised if stdout has
  35.                  been redirected from the default video output.
  36.                  Video page selection is only available on CGA
  37.                  adapters.
  38.  
  39.  
  40.         This function is found in SMDLx.LIB for the Datalight Compiler
  41.